/**
 * html multi selector
 *
 * version : beta
 * author  : edwin404
 * Github  : https://github.com/edwin404/html-multi-selector
 *
 * Licensed under MIT
 */

.html-multi-selector-container {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  overflow: hidden;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  display: none;
}

.html-multi-selector-box {
  vertical-align: middle;
  background-color: #d5d8df;
  color: #000;
  margin: 0;
  height: auto;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10001;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  &.html-multi-selector-slide-in-up {
    -webkit-animation: slideInUp .3s;
    animation: slideInUp .3s;
  }
}

.html-multi-selector-mask {
  -webkit-mask: -webkit-gradient(linear, 0% 40%, 0% 0%, from(#debb47), to(rgba(36, 142, 36, 0)));
  -webkit-mask: -webkit-linear-gradient(bottom, #debb47 50%, rgba(36, 142, 36, 0));
  padding: 0;

  .html-multi-selector-roll {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: transparent;
    -webkit-mask: -webkit-gradient(linear, 0% 50%, 0% 100%, from(#debb47), to(rgba(36, 142, 36, 0)));
    -webkit-mask: -webkit-linear-gradient(top, #debb47 50%, rgba(36, 142, 36, 0));
    & > div {
      font-size: 1em;
      height: 12em;
      float: left;
      background-color: transparent;
      position: relative;
      overflow: hidden;
      -webkit-box-flex: 1;
      -webkit-flex: 1;
      -ms-flex: 1;
      flex: 1;
      .html-multi-selector-gallery {
        width: 100%;
        float: left;
        position: absolute;
        z-index: 10002;
        margin-top: 4em;
        & > div {
          height: 2em;
          line-height: 2em;
          text-align: center;
          display: -webkit-box;
          display: -webkit-flex;
          display: -ms-flexbox;
          display: flex;
          line-clamp: 1;
          -webkit-box-orient: vertical;
          -webkit-box-direction: normal;
          -webkit-flex-direction: column;
          -ms-flex-direction: column;
          flex-direction: column;
          overflow: hidden
        }
      }
      .html-multi-selector-grid {
        position: relative;
        top: 4em;
        width: 100%;
        height: 2em;
        margin: 0;
        box-sizing: border-box;
        z-index: 0;
        border-top: 1px solid #abaeb5;
        border-bottom: 1px solid #abaeb5
      }
    }
  }

}

.html-multi-selector-btn-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  background-color: #f1f2f4;
  position: relative;

  .html-multi-selector-btn-box:before, .html-multi-selector-btn-box:after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    display: block;
    background-color: #96979b;
    z-index: 15;
    -webkit-transform: scaleY(0.33);
    transform: scaleY(0.33)
  }

  .html-multi-selector-btn-box:before {
    left: 0;
    top: 0;
    -webkit-transform-origin: 50% 20%;
    transform-origin: 50% 20%
  }

  .html-multi-selector-btn-box:after {
    left: 0;
    bottom: 0;
    -webkit-transform-origin: 50% 70%;
    transform-origin: 50% 70%
  }

  .html-multi-selector-btn {
    color: #0575f2;
    font-size: 1em;
    line-height: 1em;
    text-align: center;
    padding: .8em 1em;
  }
}


